package ru.sanluck.lib;

import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import lombok.Getter;
import lombok.Setter;

/**
 * Читатель
 */
@Getter
@Setter
@Entity(name = "book_readers")
public class BookReaderEntity {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    /**
     * Nick в Телеграм
     */
    private String tgNick;
    private String firstName;
    private String secondName;
}
